#include<stdio.h>
int main () {
	int arr[2][3] = { {1, 2, 3}, {4, 5, 6} };
	for (int i = 0; i < 2; i++) {
		for (int j = 0; j < 3; j++) {
			int * p = & arr[i][j];
			printf("%d ", * p);
		}
		printf("\n");
	}
	return 0;
}
